package com.backstage.pojo.vo;

import com.backstage.pojo.entity.SysPermission;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

@Data
public class SysPermissionVo {
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String name;
    private String url;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long type;
    private String permission;
    private String method;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long sort;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;
    int page;
    int rows;
}
